<#import "/freemarker/modeltype.ftl" as mt>
<div style="height:500px;">
<div class="dataTables_title">
	<div class="dataTables_title_left">按钮注释</div>
	<div class="dataTables_title_right">
		<a class="btn btn-danger"><i class="icon-lock"></i> 屏蔽</a>
		<a class="btn btn-warning"><i class="icon-unlock"></i> 解除屏蔽</a>
	</div>
</div>
<table cellpadding="1" cellspacing="1" class="table table-bordered">
	<thead>
		<tr class="ui-widget-header">
			<th>标题</th>
			<th>移交人</th>
			<th>接收人</th>
			<th>原办理人</th>
			<th>任务名称</th>
			<th>移交时间</th>
			<th style="width:30px;">操作</th>
		</tr>
	</thead>
	<#list pageBean.resultList as tran>
	<tr class="ui-widget-content">
		<td>${(tran.title)!''}</td>
		<td>${(tran.tn)!''}</td>
		<td>${(tran.rn)!''}</td>
		<td>${(tran.orn)!''}</td>
		<td>${(tran.mcn)!''}</td>
		<td>${(tran.ct?string("yyyy-MM-dd"))!''}</td>
		<td><div class="btn-group">
			<a class="btn btn-xs btn-success" onclick="javascript: sys_load_handle('task-showEditTransfer_${tran.code}');" title="查看">
				<i class="icon-search"></i></a>
			<#if !tran.deleted>
			<a href="javascript:;" onclick="javascript: shieldTask_task('${tran.code}', '${tran.title}');" data-toggle="tooltip" title="屏蔽" class="btn btn-xs btn-danger"><i class="icon-lock"></i></a>
			<#else>
			<a href="javascript:;" onclick="javascript: unshieldTask_task('${tran.code}', '${tran.title}');" data-toggle="tooltip" title="解除屏蔽" class="btn btn-xs btn-warning"><i class="icon-unlock"></i></a>
			</#if>
			</div>
		</td>
	</tr>
	</#list>
</table>
<#import "/freemarker/pagination.ftl" as p>
<@p.pagination pageBean 'queryTask_task'/>
</div>